<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
    <form action="#" method="post" enctype="multipart/form-data">
        <div>
            <input type="file" name="avatar">
        </div>
        <div>
            昵称：<input type="text" name="name">
        </div>
        <div>
            密码：<input type="password" name="passward" >
        </div>
        <div>
            性别：
            男：<input type="radio" name="gender">
            女：<input type="radio" name="gender">
        </div>
        <div>
            id:<input type="hidden" value="1">
        </div>
        <div>
            <input type="submit" value="提交">
        </div>
    </form>
</body>
</html>